from django.conf.urls import url,include
from goodsapp import views

urlpatterns = [
    url(r'^$', views.index),
    url(r'^index12/$', views.index12),


    url(r'^login/$', views.login),
    url(r'^logout/$', views.logout),
    url(r'^login1/$', views.login1),
    url(r'^register/$', views.register),
    url(r'^register1/$', views.register1),
    url(r'^list(\d+)_(\d+)_(\d+)/$', views.list),
    url(r'^lists(\d+)_(\d+)_(\d+)/$', views.lists,name='lists'),

    url(r'^user_center_info/$', views.user_center_info),
    url(r'^user_center_info_change/$', views.user_center_info_change),
    url(r'^cart/$', views.cart),
    url(r'^carts/$', views.carts),
    url(r'^edit/$', views.edit),
    url(r'^remove/$', views.remove),
    url(r'^user_center_order/$', views.user_center_order),
    url(r'^user_center_site/$', views.user_center_site),
    url(r'^user_center_site_change/$', views.user_center_site_change),

    url(r'^detail_(\d+)/$', views.detail),
    url(r'^place_order/$', views.place_order),
    url(r'^place_order1/$', views.place_order1),
    url(r'^place_order2/$', views.place_order2),
    url(r'^place_order_submit/$', views.place_order_submit),
    url(r'^place_order2_submit/$', views.place_order2_submit),

    url(r'^do_order/$', views.do_order),
    url(r'^cart/count/$', views.count1),

]